<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arduino MIDI File Parser: src/MidiFileParser.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Arduino MIDI File Parser
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">MidiFileParser.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A simple midi parser based on the following project <a href="https://github.com/abique/midi-parser">https://github.com/abique/midi-parser</a>.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;math.h&gt;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;MidiFileParserState.h&quot;</code><br />
<code>#include &lt;chrono&gt;</code><br />
<code>#include &lt;cstdint&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for MidiFileParser.h:</div>
<div class="dyncontent">
<div class="center"><img src="MidiFileParser_8h__incl.png" border="0" usemap="#asrc_2MidiFileParser_8h" alt=""/></div>
<map name="asrc_2MidiFileParser_8h" id="asrc_2MidiFileParser_8h">
<area shape="rect" title="A simple midi parser based on the following project https://github.com/abique/midi&#45;parser." alt="" coords="112,5,220,32"/>
<area shape="rect" title=" " alt="" coords="5,80,73,107"/>
<area shape="rect" title=" " alt="" coords="98,80,165,107"/>
<area shape="rect" title=" " alt="" coords="167,229,237,256"/>
<area shape="rect" href="MidiFileParserCommon_8h_source.html" title=" " alt="" coords="239,80,383,107"/>
<area shape="rect" href="RingBuffer_8h_source.html" title=" " alt="" coords="261,155,362,181"/>
<area shape="rect" title=" " alt="" coords="262,229,345,256"/>
<area shape="rect" title=" " alt="" coords="369,229,440,256"/>
<area shape="rect" title=" " alt="" coords="465,229,539,256"/>
</map>
</div>
</div>
<p><a href="MidiFileParser_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiFileParser.html">MidiFileParser</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Midi File parser. Provide the data via write: You should try to keep the buffer as full as possible while parsing. You get the next parsing result by calling the <a class="el" href="classMidiFileParser.html#acb5853d609f260fbafc147989ce1ee22" title="Parse data in order to provide the next midi element.">parse()</a> method.  <a href="classMidiFileParser.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:afce312e5393131ab8fe99508b399f1b7"><td class="memItemLeft" align="right" valign="top"><a id="afce312e5393131ab8fe99508b399f1b7" name="afce312e5393131ab8fe99508b399f1b7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MIDI_BUFFER_SIZE</b>&#160;&#160;&#160;1024 * 2</td></tr>
<tr class="separator:afce312e5393131ab8fe99508b399f1b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c6db54ab86a04d43f50ac2f5e69362e"><td class="memItemLeft" align="right" valign="top"><a id="a5c6db54ab86a04d43f50ac2f5e69362e" name="a5c6db54ab86a04d43f50ac2f5e69362e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MIDI_MIN_REFILL_SIZE</b>&#160;&#160;&#160;512</td></tr>
<tr class="separator:a5c6db54ab86a04d43f50ac2f5e69362e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a51ca22f5e92260d1d3f69724a51c551a"><td class="memItemLeft" align="right" valign="top"><a id="a51ca22f5e92260d1d3f69724a51c551a" name="a51ca22f5e92260d1d3f69724a51c551a"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>millis</b> ()</td></tr>
<tr class="separator:a51ca22f5e92260d1d3f69724a51c551a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A simple midi parser based on the following project <a href="https://github.com/abique/midi-parser">https://github.com/abique/midi-parser</a>. </p>
<dl class="section author"><dt>Author</dt><dd>Phil Schatzmann </dd></dl>
<dl class="section version"><dt>Version</dt><dd>0.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2023-02-02</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (c) 2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
